@use 'var.scss';
//全局element-plus主题
@use 'element.scss';
//暗黑主题
@use 'element-plus/theme-chalk/src/dark/css-vars.scss';
@use 'dark';
//页面主题
@use 'flow-widget';
@use 'flow-design';
@use 'flow-setting';
@use 'flow-toolbar';
@use "rule";

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}
#app {
  width: 100%;
  height: 100%;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

.ml4{
  margin-left: 4px;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 0px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}


*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
//滚动条的轨道的两端按钮 此处隐藏
*::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
  display: none;
}
//边角，即垂直滚动条和水平滚动条相交的地方
*::-webkit-scrollbar-corner {
  background-color: transparent;
}
//
*::-webkit-scrollbar-thumb {
  border: 1px solid rgba(0, 0, 0, 0);
  height: 6px;
  border-radius: 25px;
  background-clip: padding-box;
  background-color: rgba(0, 0, 0, 0.30);
}
//滚动条里面的小方块，能向上向下移动(或向左向右移动) 指上去的时候显示border和改变颜色造成视觉上的加粗变色
*::-webkit-scrollbar-thumb:hover{
  border: 2px solid rgba(0, 0, 0, 0.7);
  background-color: rgba(0, 0, 0, 0.70);
}